package com.young.ysepay.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.young.ysepay.dao.YsRoutingReceiptDao;
import com.young.ysepay.domain.YsRoutingReceiptDO;
import com.young.ysepay.service.YsRoutingReceiptService;



@Service
public class YsRoutingReceiptServiceImpl implements YsRoutingReceiptService {
	@Autowired
	private YsRoutingReceiptDao ysRoutingReceiptDao;
	
	@Override
	public YsRoutingReceiptDO get(Integer id){
		return ysRoutingReceiptDao.get(id);
	}
	
	@Override
	public List<YsRoutingReceiptDO> list(Map<String, Object> map){
		return ysRoutingReceiptDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ysRoutingReceiptDao.count(map);
	}
	
	@Override
	public int save(YsRoutingReceiptDO ysRoutingReceipt){
		return ysRoutingReceiptDao.save(ysRoutingReceipt);
	}
	
	@Override
	public int update(YsRoutingReceiptDO ysRoutingReceipt){
		return ysRoutingReceiptDao.update(ysRoutingReceipt);
	}
	
	@Override
	public int remove(Integer id){
		return ysRoutingReceiptDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return ysRoutingReceiptDao.batchRemove(ids);
	}
	
}
